<template>
	<div>
		<router-link to='/order_list'><span>返回</span></router-link>
		<p>订单详情页{{$route.params.id}}</p>
		<p>订单详情页{{$route.params.id}}</p>
		<p>订单详情页{{$route.params.id}}</p>
		<p>订单详情页{{$route.params.id}}</p>
	</div>
</template>

<script>
	export default{
		name:"list_detail",
		data(){
			return{
				
			}
		},
		methods:{
			is_Login(){
			//检查是否登录
			var token=window.localStorage.getItem("token");
			if(!token){
			this.$router.push({
			name:"login",path: '/login'
	});
			}else{
				return false;
			}
			return this;
		}
		},
		mounted(){
			this.is_Login();
		}
	}
</script>

<style scoped>
.detail{
	background:#f0f!important;
	}
</style>